<script setup>
import HelloWorld from './components/HelloWorld.vue'
import TheWelcome from './components/TheWelcome.vue'
</script>

    <div class="container">
        <div class="logo">
            <img src="https://mengchao.mdong.com/assets/img/hainan.png" alt="Logo">
            <h1>MDONG梦动 梦巢管理平台</h1>
        </div>
        <div class="login-panel">
            <img src="https://mengchao.mdong.com/assets/img/avatar1.png" alt="User Avatar">
            <input type="text" placeholder="用户名">
            <input type="password" placeholder="密码">
            <div>
                <input type="checkbox" id="remember">
                <label for="remember">保持会话</label>
            </div>
            <button>登录</button>
        </div>
    </div>
    <div class="wave-background"></div>
</template>

<style>
  body {
      margin: 0;
      padding: 0;
      font-family: Arial, sans-serif;
      background-color: #f9f5f0;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      background-image: url('https://mengchao.mdong.com/assets/img/bgbottom.png');
      background-size: cover;
  }
  
  .container {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      max-width: 1200px;
  }
  
  .logo {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-right: 50px;
  }
  
  .logo img {
      width: 100px;
      height: auto;
  }
  
  .login-panel {
      display: flex;
      flex-direction: column;
      align-items: center;
      background-color: white;
      padding: 40px;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .login-panel img {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      margin-bottom: 20px;
  }
  
  .login-panel input[type="text"],
  .login-panel input[type="password"] {
      width: 100%;
      padding: 10px;
      margin-bottom: 20px;
      border: 1px solid #ccc;
      border-radius: 5px;
  }
  
  .login-panel input[type="checkbox"] {
      margin-right: 5px;
  }
  
  .login-panel button {
      width: 100%;
      padding: 10px;
      background-color: #ff6400;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 16px;
  }
  
  .login-panel button:hover {
      background-color: #e65100;
  }
  
  .wave-background {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 200px;
      background-image: url('https://mengchao.mdong.com/assets/img/wave.png');
      background-size: cover;
  }
</style>
